package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

@DataType
public class equipdata implements DataClass{

public int percentagetype;

public int attributenum;

public int star;

public String icon;

public int upgradeid;

public int quality;

public int percentagenum;

public String effect;

public int heavenum;

public int upcost;

public String name;

public int sellgold;

public int upheave;

public int attributetype;

public String describe;

public int id;

public int position;

public String typedes;

public int group;

public int experience;

public int getPercentagetype(){
return percentagetype;
}
public int getAttributenum(){
return attributenum;
}
public int getStar(){
return star;
}
public String getIcon(){
return icon;
}
public int getUpgradeid(){
return upgradeid;
}
public int getQuality(){
return quality;
}
public int getPercentagenum(){
return percentagenum;
}
public String getEffect(){
return effect;
}
public int getHeavenum(){
return heavenum;
}
public int getUpcost(){
return upcost;
}
public String getName(){
return name;
}
public int getSellgold(){
return sellgold;
}
public int getUpheave(){
return upheave;
}
public int getAttributetype(){
return attributetype;
}
public String getDescribe(){
return describe;
}
public int getId(){
return id;
}
public int getPosition(){
return position;
}
public String getTypedes(){
return typedes;
}
public int getGroup(){
return group;
}
public int getExperience() {
        return experience;
    }
    @Override
public String getCode(){
return String.valueOf(getId());
}
public int level(){
return getQuality() * 10 + getStar();
}
}